package com.indusfo.spc.service;

import com.indusfo.spc.pojo.ScrapWork;
import com.indusfo.spc.vo.JSONObject;

public interface ScrapWorkService {
    // 查询
    JSONObject selectScrapWork(ScrapWork scrapWork,String startDate,String endDate);
    // 新增
    JSONObject insertScrapWork(ScrapWork scrapWork);
    // 修改
    JSONObject updateScrapWork(ScrapWork scrapWork);
    // 停用/启用/删除
    JSONObject definedScrapWork(Long[] scrapWorkIds ,Integer[] auditStates, Integer dataState);
    // 审核/反审核
    JSONObject auditScrapWork(Long[] scrapWorkIds, Integer[] auditStates, Integer auditState, Integer auditUserId);
}
